#include<stdio.h>

float myHeight(float height,int n)
{
    if(n==0)  return height;
    else return myHeight(height/2,n-1);
}

int main()
{
    int h,n;
    float output;
    scanf("h=%d,n=%d",&h,&n);
    output=myHeight(h,n);
    printf("%.3f",output);
}